import { ApiProperty } from '@nestjs/swagger';

export class newFolderDto {
  @ApiProperty({
    example: 'aaa',
  })
  folderName: string;

  @ApiProperty({
    example: '65e5edad-6c99-484e-b48c-7405de7343a3',
  })
  curFolderId: string;

  @ApiProperty({
    example: 4,
  })
  groupId?: number;
}

export class moveFilesDto {
  @ApiProperty({
    example: 'f3f51de3-847f-4314-bd99-bf41c1f5e10e',
  })
  newParent: string;

  @ApiProperty({
    example: ['ea694ebe-69f1-4d7e-b0f3-748d7a042256'],
  })
  fileIds: Array<string>;
}
